/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Interface;

import Server.DTO.Customer_DTO;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

/**
 *
 * @author 10520_000
 */
public interface IRemoteCustomer extends Remote {

    public int Insert(Customer_DTO info) throws RemoteException;

    public int Update(Customer_DTO info) throws RemoteException;

    public int Delete(Customer_DTO info) throws RemoteException;

    public void DeleteAll() throws RemoteException;

    public ArrayList FindAll() throws RemoteException;

    public Customer_DTO FindByCustomerID(String str_CustomerID) throws RemoteException;
    //public int CountSavingBookOfCustomer(Customer_DTO info) throws RemoteException;

    public String GetCustomerID(String str_fullname, String str_cmnd) throws RemoteException;
    
    public ArrayList GetCustomers(Customer_DTO info) throws RemoteException;
}
